package org.example.common.enumerate;

/**
 * 公共返回码
 * @author lsliang
 */
public enum ResponseCode {

	/**
	 * 成功
	 */
    SUCCESS("1000", "success"),

    PASSWORD_ERROR("4444", "password error"),

    UNKNOWN_EXCEPTION("9999", "UNKNOWN_EXCEPTION"),

    PARAMETER_EXCEPTION("8888", "PARAMETER_EXCEPTION")


	;
	
	

    ResponseCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private String code;
    
    private String msg;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
}
